Skip to content

Conversation

@ovr
Copy link
Member

@ovr ovr commented Feb 12, 2025

This PR unblocks an ability to upgrade rust to stable 1.84.1. I am going to do the rust upgrade in the separate PR - #9222

Usage of thiserror crate was removed for two error structures (ProtocolError from pg-srv and CompilationError from cubesql), because using Backtrace in errors requires a nightly compiler with Rust version 1.73 or newer. Move it to manual implementation

@ovr ovr marked this pull request as ready for review February 13, 2025 11:26
@ovr ovr requested review from a team as code owners February 13, 2025 11:26
@ovr ovr changed the title feat(cubesql): Allow to upgrade Rust to stable chore(cubesql): Remove usage of nightly features Feb 13, 2025
@ovr ovr force-pushed the feat/unblock-rust-stable branch 2 times, most recently from ed7f31a to 80be6a7 Compare February 13, 2025 11:48
@codecov
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 70.96774% with 9 lines in your changes missing coverage. Please review.

Project coverage is 83.44%. Comparing base (6483f66) to head (535bb19).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
rust/cubesql/pg-srv/src/lib.rs 61.11% 7 Missing ⚠️
rust/cubesql/cubesql/src/compile/error.rs 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9215      +/-   ##
==========================================
- Coverage   83.44%   83.44%   -0.01%     
==========================================
  Files         227      227              
  Lines       81599    81626      +27     
==========================================
+ Hits        68094    68113      +19     
- Misses      13505    13513       +8     
Flag Coverage Δ
cubesql 83.44% <70.96%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ovr ovr force-pushed the feat/unblock-rust-stable branch from 57b28ba to 535bb19 Compare February 13, 2025 12:29
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 Great!

@ovr ovr merged commit b3777c3 into master Feb 13, 2025
70 checks passed
@ovr ovr deleted the feat/unblock-rust-stable branch February 13, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants